# -*- coding: utf-8 -*-

import flask
import flaskext.sqlalchemy


app = flask.Flask(__name__)
app.config.from_object('patentwars.settings')
try:
    app.config.from_envvar('PATENTWARS_SETTINGS')
except RuntimeError:
    pass
db = flaskext.sqlalchemy.SQLAlchemy(app)


import patentwars.views
